﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Brain.Editor;

namespace Brain.RPG2D
{
    public class RPGSystemPlugin : IEditorPlugin
    {
        public string[] RelativeDLLs
        {
            get { return null; }
        }

        public void Load()
        {
            Engine.Instance.AddManager(new RPGLevelManager());

            Type CharacterData = typeof(CharactersDatabase);
            if (!Engine.Instance.EditorManager.DatabaseManager.DatabaseTypes.Contains(CharacterData))
            {
                Engine.Instance.EditorManager.DatabaseManager.DatabaseTypes.Add(typeof(CharactersDatabase));
            }
        }

        public void Reload()
        {

        }

        public void EndReload()
        {
        }


        public void Disable()
        {
            throw new NotImplementedException();
        }
    }
}
